package com.sc.nft.controller.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WriteOffVO {
    @ApiModelProperty("套餐名称")
    private String packageName;
    @ApiModelProperty("套餐说明")
    private String packageDescription;
    @ApiModelProperty("1:待使用 2:已使用 3:已过期")
    private Integer status;
    @ApiModelProperty("核销码")
    private String writeOffCode;
    @ApiModelProperty("套餐开始日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date packageStartTime;
    @ApiModelProperty("套餐结束日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date packageEndTime;
    @ApiModelProperty("核销日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date writeOffRecordTime;
    @ApiModelProperty("当前服务器时间戳")
    private Long nowDate=System.currentTimeMillis();

}
